
.clearfix::after{
  display: block;
  content: '';
  clear: both;
}

.main{
  width: 1200px;
  margin: 0 auto;

  .mian-nav {
    p {
      color: #969696;
      height: 66px;
      line-height: 70px;
      font-size: 16px;
      padding-left: 26px;
      background: url("../img/home.png") no-repeat 4px center;
      a {
        color: #969696;
        &:hover {
          color: red;
        }
      }
    }
  }

  .main-show {
    height: 360px;
    padding: 20px 0;
    box-shadow: 0 0 2px 1px #f6f6f6;
    border-radius: 8px;
    .show-left {
      margin-left: 18px;
      float: left;
      width: 682px;
      position: relative;
      .img {
        display: block;
        margin-top: 2px;
        margin-bottom: 16px;
        overflow: hidden;
        img {
          width: 682px;
          height: 256px;
          transition: all 0.5s ease;
          &:hover {
            transform: scale(1.2);
          }
        }
      }
      .new-icon {
        position: absolute;
        width: 86px;
        top: 0;
        right: -2px;
        background: url("../img/new_icon.png") no-repeat;
      }
      .show-left-bottom {
        .topic-title {
          float: left;
          h5 {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            font-size: 20px;
            line-height: 50px;
            font-weight: 700;
            a:hover {
              text-decoration: underline;
              color: #ff9500;
            }
          }
          .activity-time {
            height: 36px;
            line-height: 36px;
            font-size: 16px;
            color: #a2a2a2;
            em {
              color: #ff4200;
            }
          }
        }
        .joinBtn {
          float: right;
          position: relative;
          span, a {
            display: block;
            width: 116px;
            line-height: 34px;
            border: 1px solid #ff9500;
            text-align: center;
            margin-bottom: 10px;
            font-size: 14px;
            cursor: pointer;
            color: #ff9500;
            &:hover {
              border-color: #ff9500;
              background: #ff9500;
              color: #fff;
            }
          }
          span {
            border: 1px solid #e0e0e0;
            color: #717171;
            margin: 0;
          }
          img {
            width: 141px;
            height: 142px;
            background: url("../img/code_bg.png") no-repeat;
            padding: 7px 7px 7px 12px;
            position: absolute;
            right: -170px;
            bottom: 0 ;
            z-index: 100;
          }
        }
      }
    }
    .show-right {
      float: right;
      width: 454px;
      margin-right: 15px;
      .introduce {
        padding: 20px 0;
        border-bottom: 1px dashed #eaeaea;
        h5 {
          font-size: 22px;
          font-weight: 700;
          line-height: 30px;
          height: 30px;
          overflow: hidden;
          text-align: center;
          width: 100%;
          margin-bottom: 8px;
          a {
            color: #ff4200;
            &:hover{
              text-decoration: underline;
            }
          }
        }
        p {
          line-height: 24px;
          color: #a2a2a2;
          font-size: 14px;
        }
        .brief {
          height: 48px;
          over-flow: hidden;
          a {
            color: #ff9500;
            &:hover {
              text-decoration: underline;
            }
          }
        }
      }
      .list {
        padding-top: 14px;
        li {
          white-space: nowrap;
          height: 40px;
          line-height: 40px;
          overflow: hidden;
          text-overflow: ellipsis;
          font-size: 14px;
          a {
            &:hover {
              color: red;
              text-decoration: underline;
            }
          }
        }
      }
    }
  }

  .main-content {
    margin-top: 22px;
    box-shadow: 0 0 2px 1px #f6f6f6;
    border-radius: 8px;
    width: 100%;
    ul {
      padding: 25px 0 0 10px;
      li {
        float: left;
        margin: 0 0 30px 12px;
        width: 280px;
        position: relative;
        font-size: 14px;
        .img {
          display:block;
          padding-top: 1px;
          overflow: hidden;
          img{
            width: 100%;
            height: 122px;
            transition: all 0.5s ease;
            &:hover {
              transform: scale(1.2);
            }
          }
        }
        .new-icon {
          position: absolute;
          width: 57px;
          top: 0;
          right: -1px;
          background: url("../img/new_icon_s.png") no-repeat;
        }
        .topic-title {
          width: 100%;
          overflow:hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          line-height: 36px;
          font-weight: bold;
          a {
            &:hover {
              color: red;
              text-decoration: underline;
            }
          }
        }
        .topic-time{
          overflow:hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          line-height: 24px;
          color: #a2a2a2;
        }
        .join {
          display: block;
          margin-top: 10px;
          width: calc(100% - 2px);
          line-height: 34px;
          border: 1px solid #ff9500;
          text-align: center;
          color: #ff9500;
          &:hover {
            background: #ff9500;
            color: #fff;
          }
        }
      }
    }
  }

  .main-more {
    width: 100%;
    height: 70px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-top: 20px;
    cursor: pointer;
    img {
      display: block;
      padding-top: 22px;
      margin: 0 auto;
    }
  }
}
